package com.sikaryofficial.backend.service.points;

import com.sikaryofficial.backend.service.IPointsDetailStrategy;
import com.sikaryofficial.common.core.constant.PointRuleConstant;
import org.springframework.stereotype.Service;

/**
 * @author : wuweihong
 * @desc : 指引任务服务
 * @date : 2024-12-09
 */

@Service(value = PointRuleConstant.GUIDE_TASK + IPointsDetailStrategy.SUFFIX)
public class GuideTaskService extends AbstractPointService {

	/**
	 * 更新积分明细数据
	 *
	 * @param sourceId
	 * @param userId
	 * @param pointsDetailValue
	 * @return
	 */
	@Override
	public boolean updatePointsByInputValue(Long sourceId, Long userId, Integer pointsDetailValue, String param, String sourceName) {
		this.increasePoints(sourceId, userId, PointRuleConstant.GUIDE_TASK, pointsDetailValue, sourceName);
		return false;
	}

}
